package com.itjeffrey.autocode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itjeffrey.autocode.bo.req.MenuInfoBO;
import com.itjeffrey.autocode.bo.resp.MenuBO;
import com.itjeffrey.autocode.common.Result;
import com.itjeffrey.autocode.entity.MenuInfoEntity;

import java.util.List;

/**
 * @From: Jeffrey
 * @Date: 2021/4/17
 */
public interface MenuInfoService extends IService<MenuInfoEntity> {
    
    Result addMenu(MenuInfoBO menuInfoBO);

    Result modMenu(MenuInfoBO menuInfoBO);

    Result deleteMenu(Integer menuId);

    Result queryList(MenuInfoBO menuInfoBO);

    Result querypList(MenuInfoBO menuInfoBO);

    Result querysList(MenuInfoBO menuInfoBO);

    Result<List<MenuBO>> getAllMenu();

    Result<List<MenuBO>> getMenuByLoginName(String loginName);
}
